package com.wzc.org.domain;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.wzc.basic.domain.BaseDomain;
import lombok.Data;

import java.util.Date;

@Data
public class Shop extends BaseDomain {

    @Excel(name = "店铺名称", width = 30)
    private String name;

    @Excel(name = "店铺电话", width = 30)
    private String tel;

    @Excel(name="注册日期",width = 30,exportFormat="yyyy-MM-dd")
    private Date registerTime = new Date();

    @Excel(name = "店铺状态", width = 10)
    private Integer state = 1;

    @Excel(name = "店铺地址", width = 50)
    private String address;

    @Excel(name = "店铺logo", width = 50)
    private String logo;

    @Excel(name = "店长id", width = 10)
    private Long admin_id; // 店长id

    private Employee admin; // 店长id对应的名称
}
